using UnityEngine;

/// <summary>
/// 普通僵尸数据
/// </summary>
[CreateAssetMenu(menuName = "创建ScriptableObject/Zombies/BasicZombieData")]
public class BasicZombieData : ZombieData
{
    [Header("基础属性")]
    [Tooltip("基础生命值")]
    public int BaseHealth = 200;
    
    [Tooltip("基础移动速度")]
    public float MoveSpeed = 0.5f;
    
    [Tooltip("攻击伤害")]
    public int AttackDamage = 100;

    private void OnEnable()
    {
        Type = ZombieType.BasicZombie;
        HasBucket = false;
        CanJump = false;
        Health = BaseHealth;
        BaseMoveSpeed = MoveSpeed;
    }
}

